<!DOCTYPE html>
<!-- saved from url=(0046)http://smp.tsingtao.com.cn/appx/index-ios.html -->
<html style="font-size: 72.4px;"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum=1.0, user-scalable=no">
    <meta name="format-detection" content="telephone=no,email=no">
    <title>中原安全app</title>
    <link rel="stylesheet" href="./files/main.css">
  </head>
  <body>
    <div id="log" style="display: none;">
      <p>点击右上角按钮，然后在弹出的菜单中，点击在浏览器中打开，即可安装</p>
    </div>
    <div class="header">
      <img class="head-bg" src="./files/head.png" alt="">
      <div class="logo-box">
        <img class="logo" src="./files/logo.png" alt="">
        <p>中原安全</p>
      </div>
    </div>
    <div class="content">
      <p class="slogan">工作从未如此简单</p>
	    <a class="btn" href="javascript:void(0)" onclick="android(&#39;ios&#39;)">
              <img class="dev-pic" src="./files/iphone.png" alt="">
              iPhone版下载
            </a>     
       
    </div>
  


<script>
  function android(type){
    var ua1 = navigator.userAgent.toLowerCase();
    if(ua1.match(/MicroMessenger/i)=="micromessenger") {
      alert("请点击右上角按钮在浏览器中打开！");
    }else{
          location.href="itms-services://?action=download-manifest&url=https://gitee.com/jiahebrother/app/blob/master/zhongyuan/ios/zhongyuan.plist"
    }
  }
  function htRem() {
    var ww = document.documentElement.clientWidth
    if (ww > 900) {
      ww = 900
    }
    document.documentElement.style.fontSize = 100 * (ww / 750) + "px"
  }
  htRem()
  function is_weixn(){
    var ua = navigator.userAgent.toLowerCase();
    if(ua.match(/MicroMessenger/i)=="micromessenger") {
        document.getElementById('log').style.display = 'block';
        return true;
    } else {
        document.getElementById('log').style.display = 'none';
        return false;
    }
  }
  is_weixn()
</script>
</body></html>